"To follow the lecture" means to pay attention and understand the information being presented in a formal talk or lesson.